A1 = readmatrix('NiI2_20nm_photocurr_20cool_0vwarm.txt')
A2 = readmatrix('NiI2_20nm_photocurr_-20cool_0vwarm.txt')

x1 = A1(:,1)
y1 = A1(:,2)

x2 = A2(:,1)
y2 = A2(:,2)

hold on
xlim([50, 65])
plot(x1,y1,'Linewidth',1,'Color',[0.8 0 0])
plot(x2,y2,'Linewidth',1,'Color',[0 0 0.8])
xlabel('Temperature [K]')
ylabel('Photocurrent [pA]')
ylim([-2.5,2.5])
set(gca,'XMinorTick','on','YMinorTick','on')
set(gca,'box','on','Xcolor',[0 0 0],'Ycolor',[0 0 0])
legend('20V', '-20V')
legend boxoff
hold off

set(gcf,'Position',[0, 0, 200, 200])